Lua/Client/ClientActor
From JC2-MP Documentation
Contents
Static functions
Returns
Prototype
ClientActor
Create(AssetLocation, table)
ClientActor
GetById(number)
Functions
Returns
Prototype
ClearInput()
DisableAutoAim()
EnableAutoAim()
EnterVehicle(Vehicle, VehicleSeat)
ExitVehicle()
Vector3
GetAimPosition()
Angle
GetAngle()
Weapon
GetEquippedWeapon()
number
GetHealth()
Vector3
GetLinearVelocity()
Vector3
GetPosition()
GiveWeapon(WeaponSlot, Weapon)
boolean
IsValid()
Remove()
SetAimPosition(Vector3)
SetAngle(Angle)
SetBaseState(AnimationState)
SetHealth(number)
SetInput(Action, number)
SetLeftArmState(AnimationState)
SetLinearVelocity(Vector3)
SetPosition(Vector3)
SetUpperBodyState(AnimationState)
Functions inherited from Character
Returns
Prototype
AnimationState
GetBaseState()
Angle
GetBoneAngle(string)
Vector3
GetBonePosition(string)
table
GetBones(boolean)
table
GetBones()
AnimationState
GetLeftArmState()
number
GetModelId()
boolean
GetOutlineEnabled()
VehicleSeat
GetSeat()
AnimationState
GetUpperBodyState()
Vehicle
GetVehicle()
SetOutlineColor(Color)
SetOutlineEnabled(boolean)
Functions inherited from ClientEntity
Returns
Prototype
ClimateZone
GetClimateZone()
number
GetId()
Operators
Returns
Prototype
boolean
ClientActor == ClientActor